package recipe;

import common.db.DBExecute;
import common.main.MainBean;

public class RecipeDeleteBean extends MainBean
{
	public void funcExecute() throws Exception
	{			
		String seq = (String)inputTable.get("seq");		
		String client = (String)inputTable.get("client");
		String id = (String)inputTable.get("id");	
		
		
		queryBuffer = new StringBuffer("");
		queryBuffer.append("UPDATE RECIPE SET ");
		queryBuffer.append("USE_YN='N', UPD_ID='"+id+"', UPD_DATE=SYSDATE, UPD_IP='"+client+"' ");
		queryBuffer.append("WHERE SEQ='"+seq+"' ");		

		DBExecute dbe = new DBExecute(queryBuffer.toString());
		outputList = dbe.getDataList();		
	}
}
